/*
 * vertex.cpp
 *
 *  Created on: 16/11/2011
 *      Author: Aeradon
 */

#include "../include/vertex.hpp"

#ifdef _DEBUG
	#include <cstdio>
#endif

Vertex::Vertex(float x, float y) :
	x(x),
	y(y),
	vecIndex(0),
	isConstrained(false),
	outEdge(nullptr)
{
}

Vertex::~Vertex()
{
#ifdef _DEBUG
	printf("\nDELETING VERTEX\n");
#endif
}

void Vertex::setXY(float x, float y)
{
	this->x = x;
	this->y = y;
}
